package com.lesson8.bridge;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/8/29 21:41
 */
public abstract class Phone
{
    private Brand brand;

    public Phone(Brand brand)
    {
        this.brand = brand;
    }

    protected void open()
    {
        this.brand.open();
    }

    protected void close()
    {
        this.brand.close();
    }

    protected void call()
    {
        this.brand.call();
    }
}
